<select id="<?php echo $fieldName ?>_folder" name="<?php echo $fieldName ?>_folder" onchange="styleSelector_changeFolder ('<?php echo $fieldName ?>')">
	<?php foreach ($folders as $folder) { ?>
			<option value="<?php echo $folder ?>"><?php echo $folder ?></option>
	<?php } ?>
</select>
<select id="<?php echo $fieldName ?>_file" name="<?php echo $fieldName ?>_file"  onchange="styleSelector_changeFile ('<?php echo $fieldName ?>')">
	<?php foreach ($files as $file) { ?>
			<option value="<?php echo $file ?>"><?php echo $file ?></option>
	<?php } ?>
</select>
<input type="hidden" name="<?php echo $fieldName ?>" id="<?php echo $fieldName ?>_hidden" value="<?php echo $folders[0] . '/' . $files[0]; ?>">